<?php
class App_Paginator_Adapter_DbSelect extends Zend_Paginator_Adapter_DbSelect
{
    protected $_mapper;
    public function __construct($select, $mapper)
    {
        parent::__construct($select);
        $this->_mapper = $mapper;
    }
    public function getItems($offset, $itemCountPerPage){
        $items = parent::getItems($offset,$itemCountPerPage);
        return $this->_mapper->createCollectionFromArray($items);
    }
}